package cn.iune.erp.provider;

import java.text.ParseException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

import cn.iune.common.base.IBizDataIface;

public interface IFileProviderAddressService extends IBizDataIface {

	void insert(FileProviderAddress obj);
	
	public void delete(String fID);

	public void update(FileProviderAddress obj) ;

	List<FileProviderAddress> getAll();

	FileProviderAddress getByID(String fID);

	JSONObject save(JSONObject object) throws ParseException ;

	FileProviderAddress getByNo(String fAddressName, String factoryID);

//	void updateOrderID(String fID, String orderID, int numberOfActual);

	int deleteByMasterID(String fMasterID);

	int setDefault(String rowID);

	void delete(JSONObject data);

	JSONObject queryUNION(JSONObject data) throws Throwable;

	int addAddress(JSONObject data, String cUsercode, String cUsername, String userId);


}